package com.mer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mer.entity.TeacherCollect;
import com.mer.vo.AttentionVo;
import com.mer.vo.CommonResult;

/**
 * @program: IIPhase-project
 * @description: 讲师收藏数据操作层
 * @author: 张庆恒
 * @create: 2021-10-21 16:48
 **/
public interface TeacherCollectService extends IService<TeacherCollect> {
    //添加关注
    CommonResult addAttentionTeacher(AttentionVo attentionVo);

    //取消关注
    CommonResult cancelAttentionTeacher(AttentionVo attentionVo);

    //进入课程页面时 查询该讲师的关注状态
    CommonResult findAttentionTeacher(AttentionVo attentionVo);

    //查看当前关注的讲师
    CommonResult findAttentionTeacherById(String memberid);
}
